import request from '@/utils/request';
export function tzyOrders(data) {
  return request({
    url: '/dev-api/api/experts/tzyOrdersList',
    method: 'post',
    data: data,
  });
}
export function SubmitHistory(data) { // 审核列表历史提交数据
  return request({
    // url: '/dev-api/api/Subscriber/submitHis'+'?id='+ data, 
    url: '/dev-api/api/Subscriber/submitHis', 
    method: 'post',
    data: data,
  });
}
export function SubscriberList(data) { // 审核列表
  return request({
    url: '/dev-api/api/Subscriber/list',
    method: 'post',
    data: data,
  });
}
export function tzyOrdersExport(data) {
  return request({
    url: '/dev-api/api/experts/tzyOrdersExport',
    method: 'post',
    data: data,
  });
}
export function provinceInfo(data) {
  return request({
    url: '/dev-api/api/index/provinceInfo',
    method: 'post',
    data: data,
  });
}
export function reserveOrders(data) {
  return request({
    url: '/dev-api/api/experts/reserveOrders',
    method: 'post',
    data: data,
  });
}
export function tzyOrdersCount(data) {
  return request({
    url: '/dev-api/api/experts/tzyOrdersCount',
    method: 'post',
    data: data,
  });
}
export function tzyOrdersListFilter(data) {
  return request({
    url: '/dev-api/api/experts/tzyOrdersListFilter',
    method: 'post',
    data: data,
  });
}
export function tzyOrdersCreate(data) {
  return request({
    url: '/dev-api/api/experts/tzyOrdersCreate',
    method: 'post',
    data: data,
  });
}
export function reserveList(data) {
  return request({
    url: '/dev-api/api/experts/reserveList',
    method: 'post',
    data: data,
  });
}
export function reserveListFilter(data) {
  return request({
    url: '/dev-api/api/experts/reserveListFilter',
    method: 'post',
    data: data,
  });
}
export function reserveExperts(data) {
  return request({
    url: '/dev-api/api/experts/reserveExperts',
    method: 'post',
    data: data,
  });
}
// 专家预约导出
export function reserveExport(data) {
  return request({
    url: '/dev-api/api/experts/reserveExport',
    method: 'post',
    data: data,
  });
}
// 获取批次线信息
export function batchInfo(data) {
  return request({
    url: '/dev-api/api/index/batchInfo',
    method: 'post',
    data: data,
  });
}
// 获取省下 市区信息
export function getAreaChilds(data) {
  return request({
    url: '/dev-api/api/experts/areaChilds',
    method: 'post',
    data: data,
  });
}
// 创建/更新学生信息
export function userCreate(data) {
  return request({
    url: '/dev-api/api/user/userCreate',
    method: 'post',
    data: data,
  });
}
// 判断用户是否存在
export function isHaveUser(data) {
  return request({
    url: '/dev-api/api/user/isuser',
    method: 'post',
    data: data,
  });
}
// 获取志愿表列表
export function zyList(data) {
  return request({
    url: '/dev-api/api/experts/zyList',
    method: 'post',
    data: data,
  });
}
// 获取用户详细信息
export function getUser(data) {
  return request({
    url: '/dev-api/api/user/userGet',
    method: 'post',
    data: data,
  });
}
// 学生信息下载
export function userExport(data) {
  return request({
    url: '/dev-api/api/experts/userExport',
    method: 'post',
    data: data,
  });
}

// 学生报告
export function getPingList(data) {
  return request({
    url: '/appv2/api/index/judgeResInfo',
    method: 'post',
    data: data,
  });
}

export function getJudgImgSave(data) {
  return request({
    url: '/appv2/api/index/judgImgSave',
    method: 'post',
    // responseType: "blob",
    data: data,
    timeout: 20000, // 20秒
  });
}

export function getProvince(data) {
  return request({
    url: '/dev-api/api/toolbox/getProvince',
    method: 'post',
    // responseType: "blob",
    data: data,
  });
}

// 检查位次是否正确
export function checkRank(data) {
  return request({
    url: '/appv2/api/score/checkRank',
    method: 'post',
    // responseType: "blob",
    data: data,
  });
}
